package springboot.bigdata.demo.dao;

import springboot.bigdata.demo.model.UserServiceLevelChangeRecord;

import java.util.List;

public interface UserServiceLevelChangeRecordDao {

    UserServiceLevelChangeRecord add(UserServiceLevelChangeRecord userServiceLevelChangeRecord);

    /**
     * 批量录入，0db0, 1db1
     * @param userServiceLevelChangeRecordList
     * @param dbType
     * @return
     */
    int addList(List<UserServiceLevelChangeRecord> userServiceLevelChangeRecordList, int dbType);

}
